<div>
  <form name="linenocontain" class="form-horizontal form-validation">
    <div ng-repeat="ele in model">

      <div ng-switch="ele.id">

          <!-- xxxxx -->
              <div ng-switch-when="single_room_trpe">
            
            <div class="form-group">
            <label class="col-sm-2 control-label">{{ele.title}}</label>
            <div class="col-sm-10">
                 <div class="col-sm-10">
                  <label 
                  class="i-checks  checkbox-inline">
                    <input type="radio" value="0" name={{ele.id}}
                    ng-checked="result[ele.id] == item.value"
                    ng-model="result[ele.id]"
                    >
                    <i></i>
                    单人房差
                  </label>
                 </div>
                 <div ng-show="result['single_room_trpe'] == '0'" class="col-sm-10" style="margin-top: 5px" ng-repeat="item in arrfirst">
                  <div class=" fl ml10" >
                    <input type="text" class="form-control" 
                    ng-model="item.first"
                    placeholder="输入房间类型"
                    style="width:250px;" 
                    >
                  </div>
                  <label class="fl control-label ml10">房差</label>
                  <div class=" fl ml10">
                    <input type="number" class="form-control" 
                    ng-model="item.second"
                    style="width:70px;" 
                    >
                   
                 
              </div>
               <label class="fl control-label ml10">元/人</label>
               <div  style=" width: 75% ;margin-top: 2px">
                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="sub($index)">删除</button>
                    </div>
                  </div>
              <div class="col-sm-2 control-label" ng-click="addfirst(1)" ng-show="result['single_room_trpe'] == '0'">
                <i style="color: blue; cursor:pointer;" >增加一条</i>
                </div>
                  <div class="col-sm-10">
                  <label 
                  class="i-checks  checkbox-inline">
                    <input type="radio" value="1" name={{ele.id}}
                    ng-checked="result[ele.id] == item.value"
                    ng-model="result[ele.id]"
                    >
                    <i></i>
                    本产品报价是按照2人入住1间房计算的价格，如您的订单产生单房，将安排您与其他客人拼房入住。要求享受单房，请在后续附加产品页面中选择单人房差选项
                  </label>
                  </div>
                  
                   <div class="col-sm-10">
                  <label 
                  class="i-checks  checkbox-inline">
                    <input type="radio" value="2" name={{ele.id}}
                    ng-checked="result[ele.id] == item.value"
                    ng-model="result[ele.id]"
                    >
                    <i></i>
                    自定义
                  </label>
                  </div>
                   <div ng-show="result['single_room_trpe'] == '2'" class="col-sm-10" style="margin-top: 5px">
                  <div class=" fl ml10 col-sm-8">
                    <input type="text" class="form-control" 
                    ng-model="result['single_room_margin_custom']"
                     
                    >
                  </div>
                  <label class="fl control-label ml10">自定义内容</label>
              </div>

            </div>
          </div>
            
          </div>
          <div ng-switch-when="contracting_plane_terms1">

              <label class=" control-label"  style="position:absolute ;width: 163px"
              for={{ele.id}}>其他 
              </label>

               <div class=" fl ml10" ng-repeat="item in arr" >
                  <label class=" control-label col-sm-2" 
              for={{ele.id}}>
              </label>
               <div class=" fl ml10" >
                    <input type="text" class="form-control" 
                    ng-model="item.name"
                    style="width: 450px;margin-left: 185px;margin-top: 5px"
                    >
               </div>
                    <div  style=" width: 110% ;padding-top: 10px">
                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="sub1($index)">删除</button>
                    </div>
                </div>
                <div class="col-sm-2 control-label" ng-click="adda(1)" style="margin-left: 110px; margin-top: 10px" >
                <i style="color: blue; cursor:pointer;" >增加一条</i>
                </div>
          </div>
          
        <div ng-switch-default>

          <dlqform ></dlqform>

        </div>
      </div>

      <div class="line line-dashed b-b line-lg pull-in"
      ng-if="ele.show !== 'no'"
      ></div>
    </div>

    <div class="m-t m-b">

      <button type="submit" class="btn btn-default btn-rounded" 
      ng-click="gogogo()"
      >保存</button>

    </div>

  </form>
</div>